package com.bank.backend.model.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * 银行卡创建DTO
 */
@Data
@ApiModel("银行卡创建请求")
public class CardCreateDTO implements Serializable {

    @ApiModelProperty(value = "身份证号（18位）", required = true, example = "110101199001011234")
    private String pid;

    @ApiModelProperty(value = "存款产品类型ID", required = true, example = "1")
    private Integer depositId;

    @ApiModelProperty(value = "币种，默认人民币", example = "RMB")
    private String currency = "RMB";

    @ApiModelProperty(value = "开户金额（元），不得低于1元", required = true, example = "1000.00")
    private Double openMoney;
} 